<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>">
			<!--[if lte IE 6]></base><![endif]-->
			<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
			<meta name="keywords"
				content="学生综合信息管理平台,学生,综合,信息,管理,管理平台,学生综合,综合信息,学生平台,广东科学技术职业学院,科干,管理平台,学生信息管理,信息管理平台,学生信息网站,学生信息管理网站,科学技术,广科,广科院,广科院学生信息管理,广科院学生综合信息" />
			<title>学生综合信息管理平台</title>
			<link href="images/logo-copy.ico" rel="shortcut icon"
				type="image/x-icon" />
			<link href="css/menu.css" rel="stylesheet" type="text/css" />
			<link href="css/index.css" rel="stylesheet" type="text/css" />
			<link href="css/jquery-ui-1.8.16.custom.css" rel="stylesheet"
				type="text/css" />
			<link href="css/paging.css" rel="stylesheet" type="text/css" />
			<script language="javascript" type="text/javascript"
				src="javascript/jquery-1.6.4.js">
</script>
			<script language="javascript" type="text/javascript"
				src="javascript/jquery-ui-1.8.16.custom.min.js">
</script>
			<script language="javascript" type="text/javascript"
				src="javascript/jquery.bgiframe.js">
</script>
			<script language="javascript" type="text/javascript"
				src="javascript/common.js">
</script>

			<script type='text/javascript' src='dwr/interface/loginService.js'>
</script>
			<script type='text/javascript' src='dwr/engine.js'>
</script>
			<script language="javascript" type="text/javascript"
				src="javascript/common.js" charset="utf-8">
</script>
			<script type='text/javascript' src='dwr/interface/fillDataService.js'>
</script>
			<script type='text/javascript'
				src='dwr/interface/dormManagerAction.js'>
</script>
			<script type='text/javascript' src='dwr/util.js'>
</script>
			<script language="javascript" type="text/javascript"
				src="javascript/common.js" charset="utf-8">
</script>
			<script language="javascript" type="text/javascript">
$(function() {
	initAlterCollegeName(0, 0, 0);
	$("#alter_college").change(function() {
		initAlterProfession(0, 0)
	});
	$("#alter_profession").change(function() {
		initAlterClassInfo(0)
	});
	dormManagerAction.gaindoabuildNumber(function(data) {
		$("#buildNumber").append("<option value=''>请选择栋数</option>");
		if (data == null) {
			return;
		}
		for ( var i = 0; i < data.length; i++) {
			$("#buildNumber")
					.append(
							"<option  value='" + data[i] + "'>" + data[i]
									+ "</option>");
		}
	})
})

/*
 *检测宿舍号
 */

function checkDormNumber() {
	var collegeId = evalDwrData($("#alter_college").val());
	var professionId = evalDwrData($("#alter_profession").val());
	var classId = evalDwrData($("#alter_classInfo").val());
	var dormNumber = $("#dormNumber").val();
	var bedNumber = evalDwrData($("#bedNumber").val());
	var sex = evalDwrData($("#sex").val());
	var dromType = $("#dromType").val();
	var forbidden = evalDwrData($("#forbidden").val());
	var p = /^.+#\d*$/;
	/*
	 *检查宿舍类型 
	 * */

	if (collegeId == null && dromType == "普通宿舍") {
		alert("学院为空时，请选择备有宿舍");
		return;
	}
	if (professionId == null && dromType == "普通宿舍") {
		alert("专业为空时，请选择备有宿舍");
		return;
	}
	if (classId == null && dromType == "普通宿舍") {
		alert("班级为空时，请选择备有宿舍");
		return;
	}
	if (dormNumber == null || !p.test(dormNumber)) {
		alert("宿舍号不能为空或宿舍号格式不正确，正确格式为：位置#房间号");
		return false;
	}
	dormManagerAction.singleAddDrom(collegeId, professionId, classId,
			dormNumber, bedNumber, sex, forbidden, singAdd);
}

/*
 *删除宿舍
 */
function deleteDorm(button, denyDelete, dormId) {

	if (confirm("確定刪除？")) {
		dormManagerAction.deleteDorm(dormId, function(data) {
			if (data) {
				$(button).parents("tr").remove();//删除数据表格数据
				alert("删除成功！")
				//更新页面信息
			} else {
				alert("删除失败！");
			}
		})
	}
}

/*
 * 修改导入
 **/
function alterToLead(collegeName,professionName,className,sex,dormId) {

	var b = $("#dormEditDiv").height() + 120;
	alterCollegeName(0, 0, 0);
	$(".alter_college").change(function() {
		alterProfession(0, 0)
	});
	$(".alter_profession").change(function() {
		alterClassInfo(0)
	});
	$("#dormEditDiv").dialog( {
		modal : true,
		width : 800,
		height : b,
		buttons : {
			"修改" : function(){
				checkDormSingleAndUpdata(collegeName,professionName,className,sex,dormId)
			},
			"关闭" : function() {
				var a = confirm("确定取消？");
				if (a == true) {
					$(this).dialog("close");
				} else {
					return false;
				}
			}
		}
	});
}


 //获取宿舍信息
 function singleUpdataDorm(dormId){
	var collegeId =evalDwrData($(".alter_college").val());
	var professionId = evalDwrData($(".alter_profession").val());
	var classInfo=evalDwrData($(".alter_classInfo").val());
	var sex= evalDwrData($(".alter_sex").val());
	/*var dormNumber = $(".alter_dormNumber").val();*/
	dormManagerAction.singleUpdataDorm(dormId,collegeId,professionId,classInfo,
			sex,singleupdata);
}
function checkDormSingleAndUpdata(collegeName,professionName,className,sex,dormId) {
	var college = $(".alter_college").val();
	var profession = $(".alter_profession").val();
	var classInfo = $(".alter_classInfo").val();
	var sex = $(".alter_sex").val();
	/*var dormNumber  = $(".alter_dormNumber").val();*/
	var dormType = $(".alter_dormType").val();

	if (college == null) {
		if (profession != "") {
			alert("无学院不能设专业");
			return;
		}
		if (classInfo != null) {
			alert("无专业不能设班级");
			return;
		}
	} else {
		if (profession == null) {
			if (classInfo != "") {
				alert("无专业不能设班级");
				return;
			}
		}
	}

	if (college == null || profession == null || classInfo == null) {
		if (dormType != "备用宿舍") {
			alert("宿舍不属于任何范围，宿舍类型必须为备用宿舍！");
			return;
		}
	}
	/*var p = /^.+#\d*$/;
	if (dormNumber == "" || !p.test(dormNumber)) {
		alert("宿舍号不能为空或宿舍号格式不正确，正确格式为：位置#房间号");
		return false;
	}*/
	singleUpdataDorm(dormId);
	alert("修改成功！");
	$("#dormEditDiv").dialog("close");

}

function singleupdata(data){
		var dorm = data;
		var dormId = dorm.dormId;
		var index = index = $("#"+dormId+"").find("td").eq(0).text();
		var controller = 0;
		singleToLead(dorm,index,controller);
}

/*
 *更改禁用状态 
 **/
function setForbidden(dormForbidden, denyDelete, dormId) {

	if (denyDelete == true) {
		alert("宿舍有学生入住，不能直接设置宿舍状态。如必须修改，请联系管理员！！");
		return;
	}
	if (dormForbidden == true) {
		var df = "可用";
		var dormForbidden = false;//修改宿舍状态，false为可用
	} else {
		var df = "禁用";
		var dormForbidden = true;//修改宿舍状态，true为禁用
	}
	if (confirm("確定修改为" + df + "?")) {

		dormManagerAction.setForbidden(dormForbidden, dormId, function(data) {
			var dorm = data;
			var dormId = dorm.dormId;
			var index = $("#" + dormId + "").find("td").eq(0).text();//序号
				var controller = 0;
				singleToLead(dorm, index, controller);
				alert("修改成功！！");

			})
	}
}
/*
 * 
 * */
function singleToLead(dorm, index, controller) {
	var campus = "珠海校区";
	var dormId = dorm.dormId;
	var collegeName = dorm.collegeName;
	var professionName = dorm.professionName;
	var className = dorm.className;
	var dormNumber = dorm.dormNumber;
	var dormLevel = dorm.dormLevel;
	var dormBedNumber = dorm.dormBedNumber;
	var sex = dorm.sex ? "男" : "女";
	var forbidden = dorm.dormForbidden ? "禁用" : "可用";
	var forbidden1 = dorm.dormForbidden ? "可用" : "禁用";//用于动态显示操作类型
	var dromType = "普通宿舍";
	//if(dormLevel !=)
	if (className == "") {
		dormType = "备用宿舍";
	}
	if (collegeName == null) {
		collegeName = "未知";
	}
	if (className == null) {
		className = "未知";
	}
	if (professionName == null) {
		professionName = "未知";
	}
	var tr = '<tr id='
			+ dormId
			+ '><td name="resultTable_index">'
			+ index
			+ '</td><td>'
			+ campus
			+ '</td><td>'
			+ collegeName
			+ '</td><td>'
			+ professionName
			+ '</td><td>'
			+ className
			+ '</td><td>'
			+ sex
			+ '</td><td>'
			+ dormNumber
			+ '</td><td>'
			+ dormBedNumber
			+ '</td>'
			+ '<td>-------</td><td>'
			+ dromType
			+ '</td><td >'
			+ forbidden
			+ '	</td>'
			+ '<td>---------</td><td><input type="submit" value="删除" onclick="deleteDorm(this,'
			+ "false" + ',' + dormId + ')" />'
			+ '<input type="submit" value="修改" onclick="alterToLead(\''+collegeName+'\',\''+professionName+'\',\''+className+'\',\''+sex+'\','+dormId+')" />'
			+ '<input type="submit" value="' + forbidden1
			+ '" onclick="setForbidden(' + dorm.dormForbidden + ',' + "false"
			+ ',' + dormId + ')"/></td></tr>';
	if (controller == 1) {
		$(".contentTable").append(tr);//插入数据
	} else {
		$("#" + dormId + "").replaceWith(tr);//替换更新后的数据
	}
}
/*
 * 单个宿舍导入
 * */
function singAdd(data) {
	$("#waitDiv").show();
	var dorm = data;
	var buildNumber = $("#buildNumber").val();
	var index = 1;
	singleToLead(dorm, index, 1);
	if (data == null) {
		alert("导入失败！");
		return;
	}

	$("#waitDiv").hide();
}

// 自动初始化学院
function alterCollegeName(collegeName, professionName, className) {
	fillDataService.getAllColleges(function(data) {
		var collegeId = null;
		$("select.alter_college option").remove();
		$(".alter_college").append("<option value=''>无学院</option>");
		for ( var i in data) {
			if (data[i] == collegeName) {
				collegeId = i;
			}
			$(".alter_college").append(
					"<option value='" + i + "'>" + data[i] + "</option>");
		}
		// 设定学院默认值
			if (collegeId != null) {
				$(".alter_college").val(collegeId);
				alterProfession(professionName, className);//级联专业
			}
			if(collegeName == "无学院"){
				$(".alter_profession").append("<option value=''>全部专业</option>");
				alert("");
				$(".alter_classInfo").append("<option value=''>全部班级</option>");
				alert("");
			}
		});
}
// 选择学院后，自动初始化专业下拉列表
function alterProfession(professionName, className) {
	var college = $(".alter_college").val();
	if (college == "") {
		return;
	}
	var professionId = null;// 把默认值的i
	fillDataService.getAllProfessionName(eval(college), function(data) {
		$("select.alter_profession option").remove();
		$(".alter_profession").append("<option value=''>全部专业</option>");
		for ( var i in data) {
			if (data[i] == professionName) {
				professionId = i;
			}
			$(".alter_profession").append(
					"<option value='" + i + "'>" + data[i] + "</option>");
		}
		// 设定专业默认值
			if (professionId != null) {
				$("select.alter_profession").val(professionId);
				alterClassInfo(className);//级联班级
			}
			if(professionName == "全部专业"){
				$(".alter_classInfo").append("<option value=''>全部班级</option>");
				alert("");
			}
	});
}
// 选择专业后，自动初始化班级下拉列表
function alterClassInfo(className) {

	var profession = $(".alter_profession").val();
	var gradeId = null;// 年级，没用，只做一个参数去调用方法
	var classId = null;
	if (profession == "" || profession == null) {
		return;
	}
	fillDataService.getAllClassName(eval(profession), gradeId, function(data) {
		$("select.alter_classInfo option").remove();
		$(".alter_classInfo").append("<option value=''>全部班级</option>");
		for ( var i in data) {
			if (data[i] == className) {
				classId = i;
			}
			$(".alter_classInfo").append(
					"<option value='" + i + "'>" + data[i] + "</option>");
		}
		// 设定班级默认值
			if (classId != null) {
				$("select.alter_classInfo").val(classId);
			}
		});
}
</script>
	</head>
	<body>
		<jsp:include page="../common/header.jsp"></jsp:include>

		<div id="menu">
			<div id="mainMenuDiv">
				<ul>
					<li>
						<a href="web/teacherSearch.jsp">教师信息管理</a>
					</li>
					<li>
						<a href="#">学生信息管理</a>
					</li>
					<li>
						<a href="web/studentInformationBasic.jsp">个人信息管理</a>
					</li>
					<li>
						<a href="web/logisticsSearchDorm.jsp">后勤管理</a>
					</li>
					<li>
						<a href="web/scoreSearch.jsp">成绩管理</a>
					</li>
					<li>
						<a href="web/attendanceSearch.jsp">考勤管理</a>
					</li>
				</ul>
			</div>

			<div id="minorMeun">
				<ul>
					<li>
						<a href="web/logisticsSearchDorm.jsp">宿舍查询</a>
					</li>
					<li>
						<a href="web/logisticsImportDorm.jsp">宿舍导入</a>
					</li>
					<li>
						<a href="web/logisticsDormOfClass.jsp">班级宿舍管理</a>
					</li>
				</ul>
			</div>

		</div>
		<div id="bodyDiv">
			<div id="bodyTitleDiv">
				<div id="breadcrumbDiv">
					当前位置
					<a href="web/index.jsp">：首页</a><a
						href="web/logistics_search_dorm.jsp">后勤管理</a><a
						href="web/logisticsImportDorm.jsp">宿舍导入</a>
				</div>
			</div>
			<div id="bodyCentreDiv">
				<div id="conditionDiv">
					<table>
						<tr>
							<td>
								<div id="singleDiv" style="display: block">
									<table cellspacing="10">
										<tr>
											<td class="table_title">
												学&nbsp;&nbsp;&nbsp;&nbsp;院：
											</td>
											<td class="table_many">
												<select name="select3" id="alter_college">
												</select>
											</td>
											<td class="table_title">
												栋&nbsp;&nbsp;&nbsp;&nbsp;数：
											</td>
											<td class="table_many">
												<select name="select5" id="buildNumber">
												</select>
											</td>

											<td class="table_title">
												性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别：
											</td>
											<td class="table_many">
												<select name="select2" id="sex">
													<option value="">
														请选择性别
													</option>
													<option value="true">
														男
													</option>
													<option value="false">
														女
													</option>
												</select>
											</td>
										</tr>
										<tr>
											<td class="table_title">
												专&nbsp;&nbsp;&nbsp;&nbsp;业：
											</td>
											<td class="table_many">
												<select name="select4" id="alter_profession">
												</select>
											</td>
											<td class="table_title">
												宿舍号：
											</td>
											<td class="table_writing">
												<input type="text" id="dormNumber" size="6" maxlength="6" />
											</td>
											<td class="table_title">
												宿舍类型：
											</td>
											<td class="table_many">
												<select name="select7" id="dromType">
													<option value="">
														请选择类型
													</option>
													<option>
														普通宿舍
													</option>
													<option>
														备用宿舍
													</option>
												</select>
											</td>
										</tr>
										<tr>
											<td class="table_title">
												班&nbsp;&nbsp;&nbsp;&nbsp;级：
											</td>
											<td class="table_many">
												<select name="select" id="alter_classInfo">
												</select>
											</td>
											<td class="table_title">
												床位数：
											</td>
											<td class="table_many">
												<label>
													<select id="bedNumber">
														<option value="">
															请选择床位数
														</option>
														<option>
															0
														</option>
														<option>
															1
														</option>
														<option>
															2
														</option>
														<option>
															3
														</option>
														<option>
															4
														</option>
														<option>
															5
														</option>
														<option>
															6
														</option>
														<option>
															7
														</option>
														<option>
															8
														</option>
													</select>
												</label>
											</td>
											<td class="table_title">
												是否禁用：
											</td>
											<td class="table_many">
												<select name="select6" id="forbidden">
													<option value="">
														请选择
													</option>
													<option value="true">
														是
													</option>
													<option value="false">
														否
													</option>
												</select>
											</td>
										</tr>
									</table>
								</div>
								<div id="manyDiv" style="display: none">
									<h1>
										请选择文件：
									</h1>
									<input type="file" />
									<input type="button" value="下载模版" />
									<p>
										*导入前请下载模版，按格式填好数据在上传导入
									</p>
								</div>
							</td>
							<td>
								<div id="singleManyDiv">
									<ul>
										<li>
											<input name="input1" type="radio" value="" checked="checked"
												onclick="singleBut();" />
											单个导入
										</li>
										<li>
											<input name="input1" type="radio" value=""
												onclick="singleBut();" />
											批量导入
										</li>
									</ul>
								</div>
							</td>
						</tr>
					</table>
				</div>
				<div id="waitDiv" style="display: none">
					<img src="images/loading1.gif" />
					导入中...
				</div>
				<div id="buttonDiv">
					<input type="submit" value="导入" onclick="checkDormNumber();" />
				</div>
				<div id="resultDiv">
					<div id="resultTitleDiv">
						导入结果：
						<div class="show_p_p" style="display: none">
							<ul>
								<li>
									<a href="#"><img src="images/print.png" />打印</a>
								</li>
								<li>
									<a href="#"><img src="images/chart.png" />图表</a>
								</li>
							</ul>
						</div>
						<div class="educeDiv">
							<input name="educe1" type="radio" value="" />
							本页
							<input name="educe1" type="radio" value="" />
							全部
							<input type="button" value="导出" />
						</div>
					</div>
					<div id="resultDataDiv">
						<table cellspacing="1" class="contentTable">
							<tr>
								<th width="3%">
									序号
								</th>
								<th width="6%">
									校区
								</th>
								<th width="13%">
									学院
								</th>
								<th width="8%">
									专业
								</th>
								<th width="8%">
									班级
								</th>
								<th width="3%">
									性别
								</th>
								<th width="5%">
									宿舍号
								</th>
								<th width="6%">
									空床位数
								</th>
								<th>
									入住学生
								</th>
								<th width="6%">
									宿舍类型
								</th>
								<th width="5%">
									状态
								</th>
								<th width="6%">
									奖罚情况
								</th>
								<th width="18%">
									操作
								</th>
							</tr>
							<tr id></tr>
							<%--
                  <tr>
                    <td>1</td>
                    <td>珠海校区</td>
                    <td>计算机工程技术学院</td>
                    <td>软件技术</td>
                    <td>10UI设计2班</td>
                    <td>男</td>
                    <td>3#504</td>
                    <td>0</td>
                    <td><samp onclick="studentDetailsBut()">刘日斯</samp>、刘日斯、刘日斯、刘日斯、刘日斯、刘日斯、刘日斯、刘日斯</td>
                    <td>普通宿舍</td>
                    <td>可用</td>
                    <td><samp class="dormDetails" onclick="dormRecord()">详情</samp></td>
                    <td><input type="submit"  value="删除"  onclick="trDleBut(this)"/>
                      <input type="submit"  value="修改"  onclick="adormEditBut()" />
                      <input type="submit"  value="禁用" /></td>
                  </tr>
                --%>
						</table>
						<div id="allDataDiv">
							共
							<samp>
								10
							</samp>
							页&nbsp;&nbsp;共
							<samp>
								100
							</samp>
							条数据
						</div>
						<div id="pagingD">
							<a href="#">上一页</a>
							<a href="#">1</a>
							<a href="#">2</a>
							<a href="#">3</a>
							<a href="#">下一页</a>
							<select name="">
								<option>
									页数
								</option>
								<option>
									1
								</option>
								<option>
									2
								</option>
								<option>
									3
								</option>
								<option>
									4
								</option>
								<option>
									5
								</option>
								<option>
									6
								</option>
								<option>
									7
								</option>
								<option>
									8
								</option>
							</select>
							<input name="" type="button" value="跳转" id="skipBut" />
						</div>
						<div class="educeDiv">
							<input name="educe1" type="radio" value="" />
							本页
							<input name="educe1" type="radio" value="" />
							全部
							<input type="button" value="导出" />
						</div>
						<div id="dormEditDiv" style="display: none;">
							<table cellspacing="10" class="table_popup1">
								<tr>
									<td class="table_title">
										校&nbsp;&nbsp;&nbsp;&nbsp;区：
									</td>
									<td class="table_writing">
										<select>
											<option>
												请选择校区
											</option>
											<option>
												广州校区
											</option>
											<option>
												珠海校区
											</option>
										</select>
									</td>
									<td class="table_title">
										学&nbsp;&nbsp;&nbsp;&nbsp;院：
									</td>
									<td class="table_writing">
										<select class="alter_college">
										</select>
									</td>
									<td class="table_title">
										专&nbsp;&nbsp;&nbsp;&nbsp;业：
									</td>
									<td class="table_writing">
										<select class="alter_profession">
										</select>
									</td>
									<td class="table_title">
										班&nbsp;&nbsp;&nbsp;&nbsp;级：
									</td>
									<td class="table_writing">
										<select class="alter_classInfo">
										</select>
									</td>
								</tr>
								<tr>
									<td class="table_title">
										宿&nbsp;&nbsp;&nbsp;&nbsp;舍：
									</td>
									<td class="table_readonly">
										<input type="text" class="alter_dormNumber" size="6" maxlength="6"  />
									</td>
									<td class="table_title">
										性&nbsp;&nbsp;&nbsp;&nbsp;别：
									</td>
									<td class="table_writing">
										<select name="select3" class="alter_sex">
											<option value="">
												请选择性别
											</option>
											<option value="true">
												男
											</option>
											<option value="false">
												女
											</option>
										</select>
									</td>
									<td class="table_title">
										床位数：
									</td>
									<td class="table_writing">
										<select>
											<option>
												请选择人数
											</option>
											<option>
												0
											</option>
											<option>
												1
											</option>
											<option>
												2
											</option>
											<option>
												3
											</option>
											<option>
												4
											</option>
											<option>
												5
											</option>
											<option>
												6
											</option>
											<option>
												7
											</option>
											<option>
												8
											</option>
										</select>
									</td>
									<td class="table_title">
										宿舍类型：
									</td>
									<td class="table_writing">
										<select class="alter_dormType">
											<option>
												请选择方式
											</option>
											<option>
												普通宿舍
											</option>
											<option>
												备用宿舍
											</option>
										</select>
									</td>
								</tr>
							</table>
						</div>
						<div id="dormRecordDiv" title="奖惩情况" style="display: none;">
							<table cellpadding="6" cellspacing="5" class="table_popup1"
								id="logisticsTable">
								<tr>
									<th colspan="3">
										宿舍：
										<samp>
											3#504
										</samp>
									</th>
								</tr>
								<tr>
									<th>
										时间
									</th>
									<th>
										描述
									</th>
									<th>
										操作
									</th>
								</tr>
								<tr>
									<td>
										2011-10-26
									</td>
									<td>
										也不关灯 停电三天
									</td>
									<td>
										<input name="按钮" type="button" value="编辑"
											onclick="compileAndAddBut()" />
										<input name="按钮" type="button" value="删除"
											onclick="trDleBut(this)" />
									</td>
								</tr>
								<tr>
									<td>
										&nbsp;
									</td>
									<td>
										&nbsp;
									</td>
									<td>
										<input type="submit" value="增加" onclick="compileAndAddBut()" />
									</td>
								</tr>
							</table>
						</div>
						<div id="compileAndAddDiv" style="display: none;">
							<table class="table_popup1">
								<tr>
									<th colspan="2">
										宿舍：
										<samp>
											3#504
										</samp>
									</th>
								</tr>
								<tr>
									<td class="table_title">
										时间：
									</td>
									<td align="left">
										<input type="text" size="15" maxlength="10" />
									</td>
								</tr>
								<tr>
									<td valign="top">
										描述：
									</td>
									<td>
										<textarea cols="45" rows="5"></textarea>
									</td>
								</tr>
							</table>
						</div>
						<!---点击学生名字 弹出详细信息 下面Div是弹出框 id为attendanceStudenTdetailsDiv-->
						<div id="attendanceStudenTdetailsDiv" style="display: none;">
							<table cellspacing="10" class="table_popup1">
								<tr>
									<th colspan="8">
										学生简要信息
									</th>
								</tr>
								<tr>
									<td class="table_title">
										班&nbsp;&nbsp;&nbsp;&nbsp;级：
									</td>
									<td class="table_readonly">
										<input type="text" value="10UI设计2班" size="12" maxlength="12"
											readonly="readonly" />
									</td>
									<td class="table_title">
										学&nbsp;&nbsp;&nbsp;&nbsp;号：
									</td>
									<td class="table_readonly">
										<input type="text" value="0104100716" size="12" maxlength="10"
											readonly="readonly" />
									</td>
									<td class="table_title">
										姓&nbsp;&nbsp;&nbsp;&nbsp;名：
									</td>
									<td class="table_readonly">
										<input type="text" value="刘日斯" size="12" maxlength="6"
											readonly="readonly" />
									</td>
									<td class="table_title">
										性&nbsp;&nbsp;&nbsp;&nbsp;别：
									</td>
									<td class="table_readonly">
										<input type="text" value="男" size="12" maxlength="1"
											readonly="readonly" />
									</td>
								</tr>
								<tr>
									<td class="table_title">
										宿&nbsp;&nbsp;&nbsp;&nbsp;舍：
									</td>
									<td class="table_readonly">
										<input type="text" value="3#504" size="12" maxlength="6"
											readonly="readonly" />
									</td>
									<td class="table_title">
										联系手机：
									</td>
									<td class="table_readonly">
										<input type="text" value="11111111111" size="12"
											maxlength="11" readonly="readonly" />
									</td>
									<td class="table_title">
										Q&nbsp;&nbsp;Q：
									</td>
									<td class="table_readonly">
										<input type="text" value="61955365" size="12" maxlength="12"
											readonly="readonly" />
									</td>
									<td class="table_title">
										E-mail：
									</td>
									<td class="table_readonly">
										<input type="text" value="61955365@qq.com" size="18"
											readonly="readonly" />
									</td>
								</tr>
							</table>
						</div>
						<!---点击学生名字 弹出详细信息 下面Div是弹出框 id为attendanceStudenTdetailsDiv  结束-->
					</div>
				</div>
			</div>
		</div>

		<jsp:include page="../common/footer.jsp"></jsp:include>
	</body>
</html>

